package com.dingnate.springmvc;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Controller
@RequestMapping("first")
public class FirstAction {
    @RequestMapping("aa/{url}/xxx.json")
    public ModelAndView aa(@RequestParam("name") String name,
                           //
                           @PathVariable("url") String url,
                           //
                           HttpServletRequest request,
                           //
                           HttpServletResponse response) {
        return null;
    }
}
